package com.tianqicode.demo.controller;

import com.tianqicode.demo.service.IService;

public class ServiceController {

    private IService service;

    public ServiceController(IService service) {
        this.service = service;
    }

    public ServiceController() {
    }

    public void interface1() {
        service.doService();
    }
}
